package com.ztgf.order.models.service;

import com.baomidou.mybatisplus.service.IService;
import com.ztgf.order.models.bo.OrderExpirationDateSaveBO;
import com.ztgf.order.models.dto.OrderExpirationDateDTO;

import java.util.List;

/**
 * 订单有效期服务
 *
 * @author chenyu.wang
 * @Date 2020-06-03 15:56:18
 */
public interface IOrderExpirationDateService extends IService<OrderExpirationDateDTO> {
    boolean add(OrderExpirationDateSaveBO saveBO);
    List<OrderExpirationDateDTO> getAllExpireOrderInfo(Long lastNo);
    OrderExpirationDateDTO getByOrderId(Long orderId);
    boolean updateByOrderId(OrderExpirationDateDTO orderExpirationDateDTO);
}
